package com.phx.serialjni;
import android.graphics.Rect;

import java.util.HashMap;

public class sPageJ {
    static int pageno ;
    static int pageback ;

    static  boolean istime = false;
    static Integer[] nodeArray;

    Integer[] resArray ;
    Integer[] seqArray ;
    static Integer[] offArray ;

    static Integer[] onArray ;

    static String[] cmdArray  ;
    static String[] actArray  ;
    static  Integer[] typeArray;
    static String[] feedDArray;
    static  String initacode = "120116";
    static  String initloc = "天津市滨海新区";
//    static  int pwidth = 1920;
//    static  int pheight = 1080;
    static  int pwidth = 1024;

    static  int pheight = 600;
    static  int offset29 = -100;
    static int interval = 60 ;//秒
    int mleft = 1204;
    int mtop = 600;
    int mwidth = 144;
    int mheight = 145;
    static int jmpPosition = 0;
    static Rect[]  allRect;

    public static Integer[]  uarrowax = new Integer[]{272,275, 278, 282, 286, 290, 294, 298, 302, 305,
            309, 312, 316, 319, 323, 326, 329, 333, 336, 340, 343,347, 350, 354, 357, 360};
    public static Integer[]  uarroway = new Integer[]{357, 357, 357, 356, 356, 356, 356, 355, 355, 355,
            354, 354, 354, 353 ,353, 353, 353, 352, 352, 352,351, 351, 351, 350, 350};
    public static Integer[] uarrowam= new Integer[]{R.drawable.ee1, R.drawable.ee2, R.drawable.ee3,
            R.drawable.ee4, R.drawable.ee5, R.drawable.ee6, R.drawable.ee7, R.drawable.ee8, R.drawable.ee9,
            R.drawable.ee10, R.drawable.ee11,R.drawable.ee12, R.drawable.ee13, R.drawable.ee14, R.drawable.ee15,
            R.drawable.ee16, R.drawable.ee17, R.drawable.ee18, R.drawable.ee19,R.drawable.ee20,R.drawable.ee21,
            R.drawable.ee82, R.drawable.ee83, R.drawable.ee84, R.drawable.ee85,R.drawable.ee86};
    public static Integer[]  uarrowbx = new Integer[]{734, 737, 740, 742, 745, 748, 751, 754, 756, 759,
            762, 765, 767, 770, 772, 775, 778, 780, 783, 785, 788,791, 794, 796, 799, 802};
    public static Integer[]  uarrowby =  new Integer[]{327, 327, 326, 326, 326, 326, 325, 325, 325, 325,
            324, 324, 324, 324, 324, 323, 323, 323, 323, 323, 323,323, 322, 322, 321, 321};
    public static Integer[] uarrowbm= new Integer[]{R.drawable.ee22, R.drawable.ee23,
            R.drawable.ee24, R.drawable.ee25, R.drawable.ee26, R.drawable.ee27,
            R.drawable.ee28, R.drawable.ee29,R.drawable.ee30, R.drawable.ee31,R.drawable.ee32, R.drawable.ee33,
            R.drawable.ee34, R.drawable.ee35, R.drawable.ee36, R.drawable.ee37, R.drawable.ee38, R.drawable.ee39,
            R.drawable.ee40,R.drawable.ee41,R.drawable.ee42, R.drawable.ee93,
            R.drawable.ee94, R.drawable.ee95, R.drawable.ee96,R.drawable.ee97};
    // String[] thumbs =


    public  static HashMap<String, String> feedMap = new HashMap<String, String>();
    public  static HashMap<String, String> feedType = new HashMap<String, String>();


    public int getCountx() {
        return seqArray.length;
    }


//    public static String[] tmpAlla = new String[]{
//            "d001", "f002", "d002", "f001", "c001",
//            "c002", "c003", "c004", "f00d", "f006",
//            "f004", "b009", "b00a", "1010", "1011",
//            "71b0", "72b0", "73b0", "0ee2", "0ee3",
//            "0ee4", "0ee5", "0ee6", "0ee7", "0ee8",
//            "0eea", "0eeb", "c901", "c902", "c903",
//            "c904", "7001", "7002", "7003", "7004",
//            "7005", "7006", "0ee1", "0ee9", "b001",//8
//            "b002", "b003", "b004", "b005", "b006",
//            "b007", "b008", "b00b", "c005", "c006",//10
//            "c007", "c008", "7005", "f009", "6001",
//            "6002", "6003", "6004", "f005", "f00e",
//            "e001", "e002", "f003", "3002", "1fe5",
//            "1fe6", "1fe4", "1fe1", "1fe2", "2fe5",
//            "2fe6", "2fe4", "2fe1", "2fe2", "0eef",
//            "d004", "d005", "d006", "3003", "3004",
//            "4001", "4002", "4003", "4004"};

    public static String[] tmpAlla = new String[]{
            "d001", "f002", "d002", "f001", "f00d",
            "f006", "f004", "f005", "1010", "1011",
            "71b0", "72b0", "73b0", "b009", "b00a",
            "c001", "c002", "c003", "c004", "0ee2",
            "0ee3", "0ee4", "0ee5", "0ee6", "0ee7",
            "0ee8", "0eea", "0eeb", "c901","c902",
            "c903", "c904", "7001", "7002", "7003",
            "7004", "7005", "7006", "0ee1", "0ee9",     //7
            "b001", "b002", "b003", "b004", "b005",
            "b006", "b007", "b008", "b00b", "c005",
            "c006", "c007", "c008", "f009", "6001",
            "6002", "6003", "6004", "3001", "f00e", //12
            "e001", "e002", "f003", "3002", "1fe5",
            "1fe6", "1fe4", "1fe1", "1fe2", "2fe5",
            "2fe6", "2fe4", "2fe1", "2fe2", "0eef",
            "d004", "d005", "d006", "3003", "3004",
            "4001", "4002", "4003", "4004","1a10",
            "1a11", "1a12", "1a13", "1a14","1a15",
            "1a16", "1a17", "1a18", "1a19","0eec"
    };
    static String[][]  sliderCmd ={
            {"D1B00001", "D1B00002", "D1B00003", "D1B00004", "D1B00005", "D1B00006", "D1B00007", "D1B00008", "D1B00009", "D1B0000A",},///////滑動調光
            {"EE050001", "EE050002", "EE050003", "EE050004", "EE050005", "EE050006", "EE050007", "EE050008", "EE050009", "EE05000A",},
            {"EE060001", "EE060002", "EE060003", "EE060004", "EE060005", "EE060006", "EE060007", "EE060008", "EE060009", "EE06000A",},
            {"74B00009", "C1E00009", "7161000E", "B161000E", "C1E00009", "7161000E", "B161000E", "C1E00009", "7161000E", "B161000E",}};


    static String[] allDArray = new String[]{
            "d001", "f002", "d002", "f001", "f00d",
            "f006", "f004", "f005", "1010", "1011",
            "71b0", "72b0", "73b0", "b009", "b00a",
            "c001", "c002", "c003", "c004", "0ee2",
            "0ee3", "0ee4", "0ee5", "0ee6", "0ee7",
            "0ee8", "0eea", "0eeb", "c901","c902",
            "c903", "c904", "7001", "7002", "7003",
            "7004", "7005", "7006", "0ee1", "0ee9",     //7
            "b001", "b002", "b003", "b004", "b005",
            "b006", "b007", "b008", "b00b", "c005",
            "c006", "c007", "c008", "f009", "6001",
            "6002", "6003", "6004", "3001", "f00e", //12
            "e001", "e002", "f003", "3002", "1fe5",
            "1fe6", "1fe4", "1fe1", "1fe2", "2fe5",
            "2fe6", "2fe4", "2fe1", "2fe2", "0eef",
            "d004", "d005", "d006", "3003", "3004",
            "4001", "4002", "4003", "4004","1a10",
            "1a11", "1a12", "1a13", "1a14","1a15",
            "1a16", "1a17", "1a18", "1a19", "0eec"
    };

//    static String[] allDArray = new String[]{
//            "d001", "f002", "d002", "f001", "c001",
//            "c002", "c003", "c004", "1010", "1011",
//            "f004", "b009", "b00a", "f00d", "f006",
//            "71b0", "72b0", "73b0", "0ee2", "0ee3",
//            "0ee4", "0ee5", "0ee6", "0ee7", "0ee8",
//            "0eea", "0eeb", "c901", "c902", "c903",
//            "c904", "7001", "7002", "7003", "7004",
//            "7005", "7006", "0ee1", "0ee9", "b001",//8
//            "b002", "b003", "b004", "b005", "b006",
//            "b007", "b008", "b00b", "c005", "c006",//10
//            "c007", "c008", "7005", "f009", "6001",
//            "6002", "6003", "6004", "f005", "f00e", //12
//            "e001", "e002", "f003", "3002", "1fe5",
//            "1fe6", "1fe4", "1fe1", "1fe2", "2fe5",
//            "2fe6", "2fe4", "2fe1", "2fe2", "0eef",
//            "d004", "d005", "d006", "3003", "3004",
//            "4001", "4002", "4003", "4004"};

    //0EE2 "d004", "d005", "d006", "3003", "3004",
    //            "4001", "4002", "4003", "4004"
//0EE3
//0EE4
//0EE5
//0EE6
//00
//0EE7
//0EEA
//0EEB
    // "f00d", "f006","b009" ,"f004","b00a"
    static String[] voladdress = {"1010","1011" ,"e001","e002","1a12","1a17"};


    public static void setfeeds() {


        // String[] feedDArrayx0 = new String[]{"", "", "", "", "", "", "00d1", "0002", "0072"};
        //setfeedinit(feedDArrayx0);

        String[] feedDTypex = new String[]  {
                "1", "1", "1", "1", "1",
                "1", "1", "1", "2", "2",
                "6", "6", "6", "1", "1",
                "1", "1", "1", "1", "1",
                "1", "1", "9", "9", "1",
                "1", "1", "1", "1", "1",
                "1", "1", "1", "1", "1",
                "1", "1", "1", "1", "1",
                "1", "1", "1", "1", "1",
                "1", "1", "1" ,"1", "1",
                "1", "1", "1", "1", "1",
                "1",  "1", "1", "1", "1", //12
                "12", "11", "1", "1","1",
                "1", "1", "10", "10", "10",
                "1", "1", "10", "10","10",
                "1", "1", "1", "1","1",
                "1", "1", "1", "1","29",
                "29", "29", "29", "29","29",
                "29", "29", "29", "29" ,"1"
        };

       // "1fe5","1fe6","1fe4","1fe1","1fe2","2fe5","2fe6","2fe4","2fe1","2fe2"//10 zuoyi   "1","1","10","10","10","1","1","10","10","10"
       //"1fe5","1fe6","1fe4","1fe1","1fe2","2fe5","2fe6","2fe4","2fe1","2fe2"};
        if(feedMap.isEmpty()) setfeedinit(tmpAlla,feedDTypex);

    }

//    public static void setfeedinit(String[] myDArrayx)
//    {
//        int vv = myDArrayx.length;
//        for (int x=0; x<vv; x++) {
//            if(!myDArrayx[x].equals("")) {
//                feedMap.put(myDArrayx[x],"0000");
//            }
//        }
//    }

    public static void setfeedinit(String[] myDArrayx,String[] myDArray)
    {
        int vv = myDArrayx.length;
        for (int x=0; x<vv; x++) {
            if(!myDArrayx[x].equals("")) {
                feedMap.put(myDArrayx[x],"0000");
                feedType.put(myDArrayx[x],myDArray[x]);
            }
        }
    }




    public void s0() {
        pageno = 0;
        pageback = R.drawable.a0;

        //jadxgggggggui
        jmpPosition = 0;
        //1。除了slider,voltage 10
        //2 10 + slider
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8};

        //41  finish 28 jmp to MainActivityf 24 jmp to  gActivity
        //29 open App
        //MeziView 33 2 voltage 6 slider  ffff no feedback
        //1 normal feedback //9 gongfang format
        // 19 20 24 28 29 caidan 1,0 view 显示图 square
        // typeArray = new Integer[]{20, 20, 20, 20,19, 19, 19, 19, 19, 19,19,19};
        // typeArray = new Integer[]{29, 29, 29, 24, 29, 29, 29, 28};
//41 single function .20 页面跳转
        typeArray = new Integer[]{41,41,41,41,41,41,41,20 };
        nodeArray = new Integer[]{
                1,1,1,1,1,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{
               "", "", "","", "", "","", ""};
        //com.tencent.mtt.SplashActivity

        cmdArray = new String[]{
                "com.autonavi.amapauto",
                "com.tencent.mtt",
                "com.netease.cloudmusic",
                "allapps",
                "sina.mobile.tianqitongtv",
                "hdpfans.com",
                "com.mxtech.videoplayer.pro",
                "1"};


        actArray = new String[]{
                "com.autonavi.auto.remote.fill.UsbFillActivity",
                "com.tencent.mtt.SplashActivity",
                "com.netease.cloudmusic.activity.LoadingActivity",
                // "com.mxtech.videoplayer.pro.ActivityMediaList",
                "",
                "com.weibo.tqt.ui.Splash",
                "com.hdpfans.app.ui.main.MainActivity",
                "com.mxtech.videoplayer.pro.ActivityMediaList",
                "startActivity"};
//        typeArray = new Integer[]{41, 20, 20,19, 19, 41, 41, 41, 19,19,
//                20,41,41,41,41,41,41,41,20};
//        nodeArray = new Integer[]{1, 1, 1, 0, 1, 1, 1, 1,1,0,
//        1,1,1,1,1,1,1,1,1};
//        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
//        feedDArray = new String[]{"", "", "", "0ee2", "", "muteaudio","","", "","0ee8",
//        "","", "", "","", "", "","", ""};
//        cmdArray = new String[]{"exitapp", "1", "2",
//                "EE020000", "EE040000", "pausesong", "pausesong",
//                "pausesong","EE030000","EE080000",
//                 "1",
//                "com.autonavi.amapauto",
//                "com.android.chrome",
//                "hdpfans.com",
//                "com.mxtech.videoplayer.pro",
//                "sina.mobile.tianqitongtv",
//                "com.netease.cloudmusic",
//                "allapps",
//                "2"};
//        actArray = new String[]{"","", "",
//                "","", "pause", "lasts",
//                "nexts", "","",
//                "",
//                "com.autonavi.auto.remote.fill.UsbFillActivity",
//               "com.google.android.apps.chrome.Main",
//                "com.hdpfans.app.ui.main.MainActivity",
//                "com.mxtech.videoplayer.pro.ActivityMediaList",
//                "com.weibo.tqt.ui.Splash",
//                 "com.netease.cloudmusic.activity.LoadingActivity",
//                // "com.mxtech.videoplayer.pro.ActivityMediaList",
//                "",
//               "MainActivityf"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,
                R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off
        };

        onArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,
                R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off };

        allRect = new Rect[8];

        allRect[0] = new Rect(45, 66, 45 + 202, 66 + 204);
        allRect[1] = new Rect(290, 66, 290 + 202, 66 + 204);
        allRect[2] = new Rect(530 , 66, 530 + 202, 66 + 204);
        allRect[3] = new Rect(772 , 66, 772 + 202, 66 + 204);
        allRect[4] = new Rect(45, 327, 45 + 202, 327 + 204);
        allRect[5] = new Rect(290, 327, 290 +  202, 327 + 204);
        allRect[6] = new Rect(530 , 327, 530 + 202, 327 + 204);
        allRect[7] = new Rect(772 , 327, 772 +  202, 327 + 204);

    }
///q 英文主菜单
public void s200()
{

}
    public void s1() { //zhuyemian 9 中文主页
        pageno = 1;
        pageback = R.drawable.a1;

        //jadxgggggggui
        jmpPosition = 1;
        //1。除了slider,voltage 10
        //2 10 + slider
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10};

        //41  finish 28 jmp to MainActivityf 24 jmp to  gActivity
        //29 open App
        //MeziView 33 2 voltage 6 slider  ffff no feedback
        //1 normal feedback //9 gongfang format
        // 19 20 24 28 29 caidan 1,0 view 显示图 square
        // typeArray = new Integer[]{20, 20, 20, 20,19, 19, 19, 19, 19, 19,19,19};
        // typeArray = new Integer[]{29, 29, 29, 24, 29, 29, 29, 28};
//41 single function .20 页面跳转
        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
      //  cmdArray = new String[]{"31", "71", "51", "21","4",
     //            "81","181","17","201","19"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","201","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b8_off,R.drawable.b8_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b8_on,R.drawable.b8_on};



        //  typeArray = new Integer[]{29, 29, 29, 24, 29, 29, 29, 28};
        // nodeArray   1,0
        //gaode chrome netease allapps weather onvideo(zhibo) localvideo   contrl

        // hdpfans.com com.hdpfans.app.ui.main.MainActivity
        //  "com.tencent.qqlive", "com.tencent.qqlive.ona.activity.SplashHomeActivity",
        // "com.estrongs.android.pop", "com.estrongs.android.pop.app.openscreenad.NewSplashActivity",
        // "com.tw.video", "com.tw.video.VideoActivity"
//        cmdArray = new String[]{"com.autonavi.amapauto",
//                "com.android.chrome",
//                "com.netease.cloudmusic",
//                "4",
//                "sina.mobile.tianqitongtv",
//                "hdpfans.com",
//                "com.mxtech.videoplayer.pro",
//                "8"};
//        actArray = new String[]{"com.autonavi.auto.remote.fill.UsbFillActivity",
//                "com.google.android.apps.chrome.Main",
//                "com.netease.cloudmusic.activity.LoadingActivity",
//                "gActivity",
//                "com.weibo.tqt.ui.Splash",
//                 "com.hdpfans.app.ui.main.MainActivity",
//                "com.mxtech.videoplayer.pro.ActivityMediaList",
//                "MainActivityf"};

// "com.youku.phone", "com.aligame.gamecenter.adapter.impl.GameCenterLauncherActivity"
        //   adb shell dumpsys activity|grep "youku"
        // com.huawei.hwvplayer.youku com.huawei.hwvplayer.framework.MainPageActivity
//        offArray = new Integer[]{R.drawable.b1_off, R.drawable.b2_off, R.drawable.b3_off, R.drawable.b5_off,
//                R.drawable.b2_on, R.drawable.b3_on,  R.drawable.b3_off, R.drawable.b5_off};
//
//        onArray = new Integer[]{R.drawable.b1_on, R.drawable.b2_on, R.drawable.b3_on, R.drawable.b2_on,
//                R.drawable.b4, R.drawable.b4_off, R.drawable.b3_on, R.drawable.b4_on};
//1024 600

        allRect = new Rect[10];
//        allRect[0] = new Rect(6, 129, 6 + 218, 129 + 178);
//        allRect[1] = new Rect(270, 129, 270 + 218, 129 + 178);
//        allRect[2] = new Rect(537, 129, 537 + 218, 129 + 178);
//        allRect[3] = new Rect(798, 129, 798 + 218, 129 + 178);
//        allRect[4] = new Rect(6, 346, 6 + 216, 346 + 176);
//        allRect[5] = new Rect(270, 346, 270 + 218, 346 + 178);
//        allRect[6] = new Rect(537, 346, 537 + 218, 346 + 178);
//        allRect[7] = new Rect(798, 346, 798 + 218, 346 + 178);

//        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
//        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
//        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
//        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
//        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
//        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);
        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    }
    //zhuyemian 9 中文主页

    public void s201() { //zhuyemian 9 中文主页
        pageno = 201;
        pageback = R.drawable.a201;

        //jadxgggggggui
        jmpPosition = 201;
        //1。除了slider,voltage 10
        //2 10 + slider
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10};

        //41  finish 28 jmp to MainActivityf 24 jmp to  gActivity
        //29 open App
        //MeziView 33 2 voltage 6 slider  ffff no feedback
        //1 normal feedback //9 gongfang format
        // 19 20 24 28 29 caidan 1,0 view 显示图 square
        // typeArray = new Integer[]{20, 20, 20, 20,19, 19, 19, 19, 19, 19,19,19};
        // typeArray = new Integer[]{29, 29, 29, 24, 29, 29, 29, 28};
//41 single function .20 页面跳转
        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","1","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b8_off,R.drawable.b8_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b8_on,R.drawable.b8_on};



        //  typeArray = new Integer[]{29, 29, 29, 24, 29, 29, 29, 28};
        // nodeArray   1,0
        //gaode chrome netease allapps weather onvideo(zhibo) localvideo   contrl

        // hdpfans.com com.hdpfans.app.ui.main.MainActivity
        //  "com.tencent.qqlive", "com.tencent.qqlive.ona.activity.SplashHomeActivity",
        // "com.estrongs.android.pop", "com.estrongs.android.pop.app.openscreenad.NewSplashActivity",
        // "com.tw.video", "com.tw.video.VideoActivity"
//        cmdArray = new String[]{"com.autonavi.amapauto",
//                "com.android.chrome",
//                "com.netease.cloudmusic",
//                "4",
//                "sina.mobile.tianqitongtv",
//                "hdpfans.com",
//                "com.mxtech.videoplayer.pro",
//                "8"};
//        actArray = new String[]{"com.autonavi.auto.remote.fill.UsbFillActivity",
//                "com.google.android.apps.chrome.Main",
//                "com.netease.cloudmusic.activity.LoadingActivity",
//                "gActivity",
//                "com.weibo.tqt.ui.Splash",
//                 "com.hdpfans.app.ui.main.MainActivity",
//                "com.mxtech.videoplayer.pro.ActivityMediaList",
//                "MainActivityf"};

// "com.youku.phone", "com.aligame.gamecenter.adapter.impl.GameCenterLauncherActivity"
        //   adb shell dumpsys activity|grep "youku"
        // com.huawei.hwvplayer.youku com.huawei.hwvplayer.framework.MainPageActivity
//        offArray = new Integer[]{R.drawable.b1_off, R.drawable.b2_off, R.drawable.b3_off, R.drawable.b5_off,
//                R.drawable.b2_on, R.drawable.b3_on,  R.drawable.b3_off, R.drawable.b5_off};
//
//        onArray = new Integer[]{R.drawable.b1_on, R.drawable.b2_on, R.drawable.b3_on, R.drawable.b2_on,
//                R.drawable.b4, R.drawable.b4_off, R.drawable.b3_on, R.drawable.b4_on};
//1024 600

        allRect = new Rect[10];
//        allRect[0] = new Rect(6, 129, 6 + 218, 129 + 178);
//        allRect[1] = new Rect(270, 129, 270 + 218, 129 + 178);
//        allRect[2] = new Rect(537, 129, 537 + 218, 129 + 178);
//        allRect[3] = new Rect(798, 129, 798 + 218, 129 + 178);
//        allRect[4] = new Rect(6, 346, 6 + 216, 346 + 176);
//        allRect[5] = new Rect(270, 346, 270 + 218, 346 + 178);
//        allRect[6] = new Rect(537, 346, 537 + 218, 346 + 178);
//        allRect[7] = new Rect(798, 346, 798 + 218, 346 + 178);

//        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
//        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
//        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
//        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
//        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
//        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);
        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s21() { ///// 灯光 6
        pageno = 21;
        pageback = R.drawable.a21;
        jmpPosition = 21;


        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,1,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","d006", "d004", "d005","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","D4130000","D4110000","D4120000","D4D00000","D4F00000","22","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f2_off,R.drawable.f3_off,R.drawable.f4_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f2_on,R.drawable.f3_on, R.drawable.f4_on,  R.drawable.bty4_on, R.drawable.bty4_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);


        allRect[9] = new Rect(352, 212, 352+81, 212+100); //5

        allRect[10] = new Rect(472, 212, 472 + 81, 212 + 100);//6

        allRect[11] = new Rect(589, 212, 589+81, 212 + 100);
        allRect[12] = new Rect(376, 351, 376 +32, 351 + 32);//6

        allRect[13] = new Rect(618, 351, 618+32, 351 + 32);
        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[14] = new Rect(519, 130, 800, 184);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }  ///// 灯光
    public void s221()
    {
        pageno = 221;
        pageback = R.drawable.a221;
        jmpPosition = 221;


        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,1,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","d005", "d004", "d006","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","D4130000","D4110000","D4120000","D4D00000","D4F00000","222","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f2_off,R.drawable.f3_off,R.drawable.f4_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f2_on,R.drawable.f3_on, R.drawable.f4_on,  R.drawable.bty4_on, R.drawable.bty4_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);


        allRect[9] = new Rect(352, 212, 352+81, 212+100); //5

        allRect[10] = new Rect(472, 212, 472 + 81, 212 + 100);//6

        allRect[11] = new Rect(589, 212, 589+81, 212 + 100);
        allRect[12] = new Rect(376, 351, 376 +32, 351 + 32);//6

        allRect[13] = new Rect(618, 351, 618+32, 351 + 32);
        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[14] = new Rect(519, 130, 800, 184);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s22() { ///// 灯光 6
        pageno = 22;
        pageback = R.drawable.a22;
        jmpPosition = 22;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 1, 1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","d001", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","D1E00000","D1D00000","D1F00000","21","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f1_off,R.drawable.c2_off,R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f1_on,R.drawable.c2_on, R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        //250	271	197	82

        allRect[9] = new Rect(250, 271, 250+197, 271+82); //5

        allRect[10] = new Rect(501, 281, 501 + 32, 281 + 32);//6

        allRect[11] = new Rect(745, 281, 745 + 32, 281 + 32);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[12] = new Rect(225, 130, 512, 184);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }  ///// 灯光
    public void s222()
    {
        pageno = 222;
        pageback = R.drawable.a222;
        jmpPosition = 222;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 1, 1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","d001", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","D1E00000","D1D00000","D1F00000","221","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f1_off,R.drawable.c2_off,R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f1_on,R.drawable.c2_on, R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        //250	271	197	82

        allRect[9] = new Rect(250, 271, 250+197, 271+82); //5

        allRect[10] = new Rect(501, 281, 501 + 32, 281 + 32);//6

        allRect[11] = new Rect(745, 281, 745 + 32, 281 + 32);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[12] = new Rect(225, 130, 512, 184);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s23() { ///// 灯光 6
        pageno = 22;
        pageback = R.drawable.a22;
        jmpPosition = 22;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "f005","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","63200000","64510000","F5100000","71","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.c1_off,R.drawable.c2_off,R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.c1_on,R.drawable.c2_on, R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(296, 262, 296+74, 262+131); //5

        allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

        allRect[11] = new Rect(414, 271, 414+197, 271 + 82);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[12] = new Rect(225, 130, 512, 184);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }  ///// 灯光

    public void s223()
    {

    }
    public void s31() { //电器控制 4
        pageno = 31;
        pageback = R.drawable.a31;
        jmpPosition = 31;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","f006","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","F6100000","32","33","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[13];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(414, 271, 414+197, 271 + 82);

        allRect[10] = new Rect(421, 134, 421 + 186, 134 + 45);

        allRect[11] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[12] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //414	271	197	82

    }//电器控制
    public void s231()
    {
        pageno = 231;
        pageback = R.drawable.a231;
        jmpPosition = 231;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","f006","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","F6100000","232","233","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[13];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(414, 271, 414+197, 271 + 82);

        allRect[10] = new Rect(421, 134, 421 + 186, 134 + 45);

        allRect[11] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[12] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //414	271	197	82
    }
    public void s32() { //电器控制 4
        pageno = 32;
        pageback = R.drawable.a32;
        jmpPosition = 32;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","F7200000","F8200000","31","33","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }//电器控制
    public void s232()
    {
        pageno = 232;
        pageback = R.drawable.a232;
        jmpPosition = 232;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","F7200000","F8200000","231","233","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
//        allRect[9] = new Rect(414, 271, 414+197, 271 + 82);
//        allRect[10] = new Rect(421, 134, 421 + 186, 134 + 45);
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);
//        allRect[11] = new Rect(421, 134, 421 + 186, 134 + 45);
//
//        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s33() { //电器控制 4
        pageno = 33;
        pageback = R.drawable.a33;
        jmpPosition = 33;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","79200000","7A200000","31","32","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
//        allRect[9] = new Rect(414, 271, 414+197, 271 + 82);
//        allRect[10] = new Rect(421, 134, 421 + 186, 134 + 45);
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);
//        allRect[11] = new Rect(421, 134, 421 + 186, 134 + 45);
//
//        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(421, 134, 607 , 134 + 45);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }//电器控制
    public void s233()
    {
        pageno = 233;
        pageback = R.drawable.a233;
        jmpPosition = 233;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0,0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","79200000","7A200000","231","232","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.b1_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
//        allRect[9] = new Rect(414, 271, 414+197, 271 + 82);
//        allRect[10] = new Rect(421, 134, 421 + 186, 134 + 45);
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);
//        allRect[11] = new Rect(421, 134, 421 + 186, 134 + 45);
//
//        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(421, 134, 607 , 134 + 45);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s4() {//空调 6  特殊显示温度及状态变化
        pageno = 4;
        pageback = R.drawable.a4;
        jmpPosition = 4;

      //  cmdArray = new String[]{"EF010000","EF020000","EF030000","EF040000","3","1"};

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","EF010000","EF020000","EF030000","EF040000","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.d1_off,R.drawable.d2_off,R.drawable.d3_off,R.drawable.d4_off,R.drawable.d4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.d1_on,R.drawable.d2_on, R.drawable.d3_on, R.drawable.d4_on, R.drawable.d4_on};


        allRect = new Rect[14];



        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);


        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(391, 314, 391+60, 314 + 60);

        allRect[10] = new Rect(275, 314, 275 + 60, 314 + 60);

        allRect[11] = new Rect(693, 314, 693 + 60, 314 + 60);

        allRect[12] = new Rect(577, 314, 577 + 60, 314 + 60);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板



    } //空调 6 温度显示特殊。
    public void s204()
    {
        pageno = 204;
        pageback = R.drawable.a204;
        jmpPosition = 204;

        //  cmdArray = new String[]{"EF010000","EF020000","EF030000","EF040000","3","1"};

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","EF010000","EF020000","EF030000","EF040000","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.d1_off,R.drawable.d2_off,R.drawable.d3_off,R.drawable.d4_off,R.drawable.d4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.d1_on,R.drawable.d2_on, R.drawable.d3_on, R.drawable.d4_on, R.drawable.d4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);


        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(391, 314, 391+60, 314 + 60);

        allRect[10] = new Rect(275, 314, 275 + 60, 314 + 60);

        allRect[11] = new Rect(693, 314, 693 + 60, 314 + 60);

        allRect[12] = new Rect(577, 314, 577 + 60, 314 + 60);

        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    //空调 6  特殊显示温度及状态变化
    public void s5() { //影音控制
        pageno = 5;
        pageback = R.drawable.a5;
        jmpPosition = 5;
        seqArray = new Integer[]{1, 2, 3};
        typeArray = new Integer[]{19, 20, 20};
        cmdArray = new String[]{"FE100000","6","1"};/////燈光頁面調節

        nodeArray = new Integer[]{0,1, 1};
        feedDArray = new String[]{"f00e", "", ""};
        offArray = new Integer[]{R.drawable.f1_off,R.drawable.f2_off,R.drawable.f3_off};

        onArray = new Integer[]{R.drawable.f1_on,R.drawable.f2_on,R.drawable.f3_on};
        allRect = new Rect[3];

        allRect[0] = new Rect(319, 252, 319 + 138, 252 + 166);
        allRect[1] = new Rect(566, 252, 566 + 138, 252 + 166);
        allRect[2] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
      //  allRect[3] = new Rect(711, 252 , 711 + 138, 252 + 166  );
        //   allRect[4] = new Rect(821, 480 , 821 + 100, 480 + 100  );
//        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
//        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
//        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
//        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
//        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
//        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);


//        allRect[5] = new Rect(99, 284, 99 + 60, 284 + 60);
//        allRect[6] = new Rect(384, 284, 384 + 60, 284 + 60);
//        allRect[7] = new Rect(577, 284, 577  + 60, 284 + 60);
//        allRect[8] = new Rect(862, 284, 862 + 60, 284 + 60);
    }  //影音控制
    public void s205()
    {

    }
    public void s51() { //影音控制
        pageno = 51;
        pageback = R.drawable.a51;
        jmpPosition = 51;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","", "f00e","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","FE100000","52","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[12];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(414, 271, 414+197, 271 + 82); //onoff

      //  allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

//        allRect[11] = new Rect(654, 251, 536 + 38, 270 + 52);
//
//        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[10] = new Rect(519, 130, 800, 184);
        allRect[11] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }  //影音控制
    public void s251()
    {
        pageno = 251;
        pageback = R.drawable.a251;
        jmpPosition = 251;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","", "f00e","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","FE100000","252","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[12];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(414, 271, 414+197, 271 + 82); //onoff

        //  allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

//        allRect[11] = new Rect(654, 251, 536 + 38, 270 + 52);
//
//        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[10] = new Rect(519, 130, 800, 184);
        allRect[11] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s52() { //影音控制
        pageno = 52;
        pageback = R.drawable.a52;
        jmpPosition = 52;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16,17,18,19};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,0,0, 0, 0,0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","ffff", "ffff",  "0ee2", "0ee8", "ffff","ffff","0eec","0ee7","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","EE040000","EE030000", "EE020000", "EE080000",
                "EE0B0000", "EE0A0000", "EE0C0000","EE070000","51","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.e1_off,R.drawable.e4_off,R.drawable.e5_off,R.drawable.e11_off,
                R.drawable.e7_off,R.drawable.e10_off,R.drawable.e12_off,R.drawable.e6_off,
                R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.e1_on,R.drawable.e4_on, R.drawable.e5_on, R.drawable.e11_on,
                R.drawable.e7_on,R.drawable.e10_on, R.drawable.e12_on, R.drawable.e6_on,
                R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[19];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////

        allRect[9] = new Rect(238, 213, 238+60, 213+60); //5

        allRect[10] =new Rect(536, 213, 536+60, 213+60); //5//6

        allRect[11] = new Rect(632, 213, 632+60, 213+60); ;

        /////
        allRect[12] = new Rect(728, 213, 728+60, 213+60);

        allRect[13] = new Rect(238, 336, 238+60, 336+60);

        allRect[14] = new Rect(536, 336, 536+60, 336+60); //5

        allRect[15] =  new Rect(632, 336, 632+60, 336+60);//6

        allRect[16] =new Rect(728, 336, 728+60, 336+60);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[17] = new Rect(225, 130, 512, 184);
        allRect[18] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }  //影音控制

    public void s252()
    {
        pageno = 252;
        pageback = R.drawable.a252;
        jmpPosition = 252;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16,17,18,19};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,0,0, 0, 0,0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","ffff", "ffff",  "0ee2", "0ee8", "ffff","ffff","0eec","0ee7","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};

        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","EE040000","EE030000", "EE020000", "EE080000",
                "EE0B0000", "EE0A0000", "EE0C0000","EE070000","251","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.e1_off,R.drawable.e4_off,R.drawable.e5_off,R.drawable.e11_off,
                R.drawable.e7_off,R.drawable.e10_off,R.drawable.e12_off,R.drawable.e6_off,
                R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.e1_on,R.drawable.e4_on, R.drawable.e5_on, R.drawable.e11_on,
                R.drawable.e7_on,R.drawable.e10_on, R.drawable.e12_on, R.drawable.e6_on,
                R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[19];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////

        allRect[9] = new Rect(238, 213, 238+60, 213+60); //5

        allRect[10] =new Rect(536, 213, 536+60, 213+60); //5//6

        allRect[11] = new Rect(632, 213, 632+60, 213+60); ;

        /////
        allRect[12] = new Rect(728, 213, 728+60, 213+60);

        allRect[13] = new Rect(238, 336, 238+60, 336+60);

        allRect[14] = new Rect(536, 336, 536+60, 336+60); //5

        allRect[15] =  new Rect(632, 336, 632+60, 336+60);//6

        allRect[16] =new Rect(728, 336, 728+60, 336+60);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[17] = new Rect(225, 130, 512, 184);
        allRect[18] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
//    public void s5() {//功放
//        pageno = 5;
//        pageback = R.drawable.a5;
//        jmpPosition = 5;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8};
//        typeArray = new Integer[]{20, 20, 20, 20,20,20,16, 16};
//        cmdArray = new String[]{"1","2","3","4","5","6","e1200000","e2200000"};/////燈光頁面調節
//
//        nodeArray = new Integer[]{1, 1, 1, 1,1,1,0, 0};
//        feedDArray = new String[]{"", "", "","","", "","ffff", "ffff"};
//        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off,
//                R.drawable.f1_off,R.drawable.f2_off};
//
//        onArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off,
//                R.drawable.f1_on,R.drawable.f2_on};
//        allRect = new Rect[8];
//        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
//        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
//        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
//        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
//        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
//        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);
//
//        allRect[6] = new Rect(277, 255, 277 + 60, 255 + 60);
//        allRect[7] = new Rect(686, 255, 686 + 60, 255 + 60);
//
//    }
    public void s6() {//功放
        pageno = 6;
        pageback = R.drawable.a6;
        jmpPosition = 6;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10};
        typeArray = new Integer[]{19, 19,19,19,19,19,19,19,20, 20,};
        cmdArray = new String[]{"EE040000","EE030000", "EE020000", "EE0F0000",
                "EE0B0000", "EE0A0000", "EE080000","EE070000","1","5"};/////

        nodeArray = new Integer[]{0,0,0,0,0,0,0,0,1, 1};
        feedDArray = new String[]{"ffff", "ffff",  "0ee2", "0eef", "ffff","ffff","0ee8","0ee7","",""};
        offArray = new Integer[]{
                R.drawable.g1_off,
                R.drawable.g4_off,
                R.drawable.g5_off,
                R.drawable.g6_off,
                R.drawable.g7_off,
                R.drawable.g10_off,
                R.drawable.g11_off,
                R.drawable.g12_off,
                R.drawable.b1_off,
                R.drawable.b2_off
        };

        onArray = new Integer[]{
                R.drawable.g1_on,
                R.drawable.g4_on,
                R.drawable.g5_on,
                R.drawable.g6_on,
                R.drawable.g7_on,
                R.drawable.g10_on,
                R.drawable.g11_on,
                R.drawable.g12_on,
                R.drawable.b1_off,
                R.drawable.b2_off};
        allRect = new Rect[10];
//        allRect[0] = new Rect(87, 480, 87 +100, 480 + 100);
//        allRect[1] = new Rect(271, 480, 271 + 100, 480 + 100);
//        allRect[2] = new Rect(454, 480, 454 + 100, 480 + 100);
//        allRect[3] = new Rect(639, 480 , 639 + 100, 480 + 100  );
//        allRect[4] = new Rect(821, 480 , 821 + 100, 480 + 100  );
//        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
//        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
//        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
//        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
//        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
//        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        allRect[0] = new Rect(131, 185, 131 + 65, 185 + 65);
        allRect[1] = new Rect(495, 185, 495 + 65, 185 + 65);
        allRect[2] = new Rect(657, 185, 657  + 65, 185 + 65);
        allRect[3] = new Rect(819, 185, 819 + 65, 185 + 65);
        allRect[4] = new Rect(131, 383, 131 + 65, 383 + 65);
        allRect[5] = new Rect(495, 383, 495  + 65, 383 + 65);
       allRect[6] = new Rect(657, 383, 657 + 65, 383 + 65);
         allRect[7] = new Rect(819, 383, 819  + 65, 383 + 65);

        allRect[8] = new Rect(42, 14, 42 +89+10, 140 + 28+10);
        allRect[9] = new Rect(865, 14, 865 + 117, 14 + 28);

    } //功放
    public void s206()
    {

    }
    //功放
    public void s7() {//电视 6
//        pageno = 7;
//        pageback = R.drawable.a7;
//        jmpPosition = 7;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6};
//        typeArray = new Integer[]{19,19, 19, 19,19,20};
//        cmdArray = new String[]{"61400000","62500000","63400000","F5100000","64500000","1"};
//
//        nodeArray = new Integer[]{0, 0, 0,0,0,1};
//        feedDArray = new String[]{"6001", "6002", "6003","f005","6004",  ""};
//        offArray = new Integer[]{R.drawable.h1_off,R.drawable.h2_off,R.drawable.h3_off,R.drawable.h4_off,R.drawable.h5_off ,
//                R.drawable.h6_off};
//
//        onArray = new Integer[]{R.drawable.h1_on,R.drawable.h2_on,R.drawable.h3_on,R.drawable.h4_on,R.drawable.h5_on ,
//                R.drawable.h6_on};
//        allRect = new Rect[6];
//        allRect[0] = new Rect(73, 252, 73 +138, 252 + 166);
//        allRect[1] = new Rect(258, 252, 258 + 138, 252 + 166);
//        allRect[2] = new Rect(443, 252, 443 + 138, 252 + 166);
//        allRect[3] = new Rect(628, 252 , 628 + 138, 252 + 166  );
//        allRect[4] = new Rect(813, 252 , 813 + 138, 252 + 166  );
//        allRect[5] = new Rect(42, 14, 42 +89+10, 140 + 28+10);
////        allRect[0] = new Rect(65, 480, 65 +100, 480 + 100);
////        allRect[1] = new Rect(226, 480, 226 + 100, 480 + 100);
////        allRect[2] = new Rect(383, 480, 383 + 100, 480 + 100);
////        allRect[3] = new Rect(538, 480 , 538 + 100, 480 + 100  );
////        allRect[4] = new Rect(696, 480 , 696 + 100, 480 + 100  );
////        allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);
//
////        allRect[5] = new Rect(99, 284, 99 + 60, 284 + 60);
////        allRect[6] = new Rect(384, 284, 384 + 60, 284 + 60);
////        allRect[7] = new Rect(577, 284, 577  + 60, 284 + 60);
////        allRect[8] = new Rect(862, 284, 862 + 60, 284 + 60);
    } // 电视控制
    public void s207()
    {

    }
    public void s71() {//电视 6
        pageno = 71;
        pageback = R.drawable.a71;
        jmpPosition = 71;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "6002","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","61200000","62510000","72","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.c1_off,R.drawable.c2_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.c1_on,R.drawable.c2_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[13];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(296, 262, 296+74, 262+131); //5

        allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

//        allRect[11] = new Rect(654, 251, 536 + 38, 270 + 52);
//
//        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[11] = new Rect(519, 130, 800, 184);
        allRect[12] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

//        c1	296
//        c2			74	131


    } // 电视控制
    public void s271()
    {
        pageno = 271;
        pageback = R.drawable.a271;
        jmpPosition = 271;

        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "6002","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","61200000","62510000","272","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.c1_off,R.drawable.c2_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.c1_on,R.drawable.c2_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[13];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(296, 262, 296+74, 262+131); //5

        allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

//        allRect[11] = new Rect(654, 251, 536 + 38, 270 + 52);
//
//        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[11] = new Rect(519, 130, 800, 184);
        allRect[12] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s72() {//电视 6
        pageno = 72;
        pageback = R.drawable.a72;
        jmpPosition = 72;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "6004", "f005","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","63200000","64510000","F5100000","71","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.c1_off,R.drawable.c2_off,R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.c1_on,R.drawable.c2_on, R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(296, 262, 296+74, 262+131); //5

        allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

        allRect[11] = new Rect(414, 271, 414+197, 271 + 82);

       // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[12] = new Rect(225, 130, 512, 184);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    } // 电视控制
    //电视
    public void s272()
    {
        pageno = 272;
        pageback = R.drawable.a272;
        jmpPosition = 272;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "6004", "f005","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","63200000","64510000","F5100000","271","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.c1_off,R.drawable.c2_off,R.drawable.f1_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.c1_on,R.drawable.c2_on, R.drawable.f1_on,  R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(296, 262, 296+74, 262+131); //5

        allRect[10] = new Rect(654, 251, 654 + 74, 251 + 131);//6

        allRect[11] = new Rect(414, 271, 414+197, 271 + 82);

        // allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[12] = new Rect(225, 130, 512, 184);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    public void s8() { //窗帘 11
//    pageno = 8;
//    pageback = R.drawable.a8;
//    jmpPosition = 8;
//    seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11};
//    typeArray = new Integer[]{16, 16, 16, 16,16,16,16,16,16,16,20};
//    cmdArray = new String[]{"71200000","72200000","73200000","74200000","81200000","82200000","83200000","84200000",
//            "91200000","92200000","1"
//    };
//
//    nodeArray = new Integer[]{0, 0, 0, 0,0,0, 0, 0, 0,0,1};
//    feedDArray = new String[]{"", "", "","","", "","","","","",""};
//    offArray = new Integer[]{R.drawable.i1_off,R.drawable.i2_off,R.drawable.i3_off,R.drawable.i4_off,R.drawable.i5_off ,
//            R.drawable.i6_off,R.drawable.i7_off,R.drawable.i8_off,R.drawable.i9_off,R.drawable.i10_off,R.drawable.i11_off};
//
//    onArray = new Integer[]{R.drawable.i1_on,R.drawable.i2_on,R.drawable.i3_on,R.drawable.i4_on,R.drawable.i5_on ,
//            R.drawable.i6_on,R.drawable.i7_on,R.drawable.i8_on,R.drawable.i9_on,R.drawable.i10_on,R.drawable.i11_on};
//    allRect = new Rect[11];
//    allRect[0] = new Rect(238, 259, 238 +100, 259 + 36);
//    allRect[1] = new Rect(365, 259, 365 + 100, 259 + 36);
//    allRect[2] = new Rect(558, 259, 558 + 100, 259 + 36);
//    allRect[3] = new Rect(685, 259 , 685 + 100, 259 + 36);
//    allRect[4] = new Rect(78, 501 , 78 + 100, 501 +36  );
//
//    allRect[5] = new Rect(205, 501, 205 + 100, 501 + 36);
//
//    allRect[6] = new Rect(398, 501, 398 + 100, 501 + 36);
//    allRect[7] = new Rect(525, 501, 525 + 100, 501 + 36);
//    allRect[8] = new Rect(718, 501, 718  + 100, 501 + 36);
//    allRect[9] =  new Rect(845, 501, 845 + 100, 501 + 36);
//    allRect[10] =  new Rect(42, 14, 42 + 89+10, 14 + 28+10);

} // 窗帘控制 11
    public void s208()
    {

    }
    public void s81() { //窗帘 11
        pageno = 81;
        pageback = R.drawable.a81;
        jmpPosition = 81;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","89200000","8A200000","8B200000","8C200000","82","83","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on,R.drawable.cl1_on,R.drawable.cl2_on,R.drawable.cl2_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);

////////
        allRect[13] = new Rect(421, 134, 421 + 186, 134 + 45);

        allRect[14] = new Rect(607, 134, 607+ 186, 134 + 45);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    } // 窗帘控制 11
    public void s281() { //窗帘 11
        pageno = 281;
        pageback = R.drawable.a281;
        jmpPosition = 281;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","89200000","8A200000","8B200000","8C200000","282","283","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on,R.drawable.cl1_on,R.drawable.cl2_on,R.drawable.cl2_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        // allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);

////////
        allRect[13] = new Rect(421, 134, 421 + 186, 134 + 45);

        allRect[14] = new Rect(607, 134, 607+ 186, 134 + 45);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    } // 窗帘控制 11
    public void s82() { //窗帘 11
        pageno = 82;
        pageback = R.drawable.a82;
        jmpPosition = 82;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","8D200000","8E200000","81","83","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on, R.drawable.cl2_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);
/////////////////////

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // 窗帘控制 11
    public void s282()
    {
        pageno = 282;
        pageback = R.drawable.a282;
        jmpPosition = 282;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","8D200000","8E200000","281","283","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on, R.drawable.cl2_on};


        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(300, 259, 350, 321);

        allRect[10] = new Rect(678, 259, 728, 321);
/////////////////////

        allRect[11] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[12] = new Rect(607, 134, 607+ 186, 134 + 45);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    }
    public void s83() { //窗帘 11
        pageno = 83;
        pageback = R.drawable.a83;
        jmpPosition = 83;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","8F200000","80200000","80210000","80220000","81","82","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on ,R.drawable.cl2_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);

        allRect[13] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[14] = new Rect(421, 134, 607 , 134 + 45);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // 窗帘控制 11
    public void s283()
    {
        pageno = 283;
        pageback = R.drawable.a283;
        jmpPosition = 283;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,20,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","8F200000","80200000","80210000","80220000","281","282","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl1_off,R.drawable.cl2_off,R.drawable.cl2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.cl1_on,R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on, R.drawable.cl1_on, R.drawable.cl2_on ,R.drawable.cl2_on};


        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );

        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);
        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ///////
        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);

        allRect[13] = new Rect(421 - 186, 134, 421  , 134 + 45);

        allRect[14] = new Rect(421, 134, 607 , 134 + 45);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
    }
    //窗帘
    public void s9() { //zuozuoyi 17 + 2
//        pageno = 9;
//        pageback = R.drawable.a9;
//        jmpPosition = 9;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19};
//        typeArray = new Integer[]{20, 20, 19, 20,19,20,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//        19,19};
//        cmdArray = new String[]{"13","10","1F0D0000","11","1F0E0000","12",
//                "1E200000", "1B200000", "1C200000", "1D200000", "14200000", "13200000", "16200000", "15200000", "18200000","17200000",
//                "1",
//                "1EC60000","1EC50000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 0, 1,0,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//        1,
//        0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//        "1fe6","1fe5"};
//        offArray = new Integer[]{R.drawable.j1_off,R.drawable.j2_off,R.drawable.j3_off,R.drawable.j4_off,R.drawable.j5_off ,
//                R.drawable.j6_off,R.drawable.j7_off,R.drawable.j8_off,R.drawable.j9_off,R.drawable.j10_off,R.drawable.j11_off,
//                R.drawable.j12_off,R.drawable.j13_off,R.drawable.j14_off,R.drawable.j15_off , R.drawable.j16_off,
//                R.drawable.j21_off ,
//                R.drawable.j34_off,R.drawable.j35_off};
//
//        onArray = new Integer[]{R.drawable.j1_on,R.drawable.j2_on,R.drawable.j3_on,R.drawable.j4_on,R.drawable.j5_on ,
//                R.drawable.j6_on,R.drawable.j7_on,R.drawable.j8_on,R.drawable.j9_on,R.drawable.j10_on,R.drawable.j11_on,
//                R.drawable.j12_on,R.drawable.j13_on,R.drawable.j14_on,R.drawable.j15_on , R.drawable.j16_on,
//                R.drawable.j21_on,
//                R.drawable.j34_on,R.drawable.j35_on};
//        allRect = new Rect[19];
//        allRect[0] = new Rect(631, 130, 631 +92, 130 + 110);
//        allRect[1] = new Rect(758, 130, 758 + 92, 130 + 110);
//        allRect[2] = new Rect(631, 288, 631 + 92, 288 + 110);
//        allRect[3] = new Rect(758, 288 , 758 + 92, 288 + 110  );
//        allRect[4] = new Rect(631, 446 , 631 + 92, 446 + 110  );
//        allRect[5] = new Rect(758, 446, 758 +92, 446 + 110);
//
//        allRect[6] = new Rect(71, 151, 71 + 65, 151 + 65);
//        allRect[7] = new Rect(146, 77, 146 + 65, 77 + 65);
//        allRect[8] = new Rect(146, 225 , 146 + 65, 225 + 65  );
//        allRect[9] = new Rect(220, 151 , 220 + 65, 151 + 65  );
//        allRect[10] = new Rect(110, 370, 110 + 65, 370 + 65);
//
//        allRect[11] = new Rect(317, 282, 317 + 65, 282  + 65);
//        allRect[12] = new Rect(230, 491, 230 + 65, 491 + 65);
//        allRect[13] = new Rect(368, 491, 368  + 65, 491 + 65);
//        allRect[14] = new Rect(506, 491, 506 + 65, 491 + 65);
//        allRect[15] = new Rect(506, 354, 506 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
//
//         allRect[17] = new Rect(504, 130, 504 + 92, 130+ 50);
//        allRect[18] = new Rect(504, 190, 504 + 92, 190 + 50);
      
    } // 左座椅 19
    public void s209()
    {

    }
    public void s10() { //anmo页 19 + 4
//        pageno = 10;
//        pageback = R.drawable.a10;
//        jmpPosition = 10;
//
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 19, 20,19,20,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//        19,19,19,19};
//        cmdArray = new String[]{"13","10","1F0D0000","11","1F0E0000","12",
//                "1E200000", "1B200000", "1C200000", "1D200000", "14200000", "13200000", "16200000", "15200000", "18200000","17200000",
//                "1",
//                "1EC60000","1EC50000",
//                "1EC40000","1EC10000","1EC20000","1EC30000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 0, 1,0,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//        0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "1fe6","1fe5",
//        "1fe41","1fe42","1fe43","1fe44"};
//        offArray = new Integer[]{R.drawable.j1_off,R.drawable.j2_off,R.drawable.j3_off,R.drawable.j4_off,R.drawable.j5_off ,
//                R.drawable.j6_off,R.drawable.j7_off,R.drawable.j8_off,R.drawable.j9_off,R.drawable.j10_off,R.drawable.j11_off,
//                R.drawable.j12_off,R.drawable.j13_off,R.drawable.j14_off,R.drawable.j15_off , R.drawable.j16_off,
//                R.drawable.j21_off ,
//                R.drawable.j34_off,R.drawable.j35_off,
//                R.drawable.j22_off,R.drawable.j23_off,R.drawable.j24_off,R.drawable.j25_off
//        };
//
//        onArray = new Integer[]{R.drawable.j1_on,R.drawable.j2_on,R.drawable.j3_on,R.drawable.j4_on,R.drawable.j5_on ,
//                R.drawable.j6_on,R.drawable.j7_on,R.drawable.j8_on,R.drawable.j9_on,R.drawable.j10_on,R.drawable.j11_on,
//                R.drawable.j12_on,R.drawable.j13_on,R.drawable.j14_on,R.drawable.j15_on , R.drawable.j16_on,
//                R.drawable.j21_on,
//                R.drawable.j34_on,R.drawable.j35_on,
//                R.drawable.j22_on,R.drawable.j23_on,R.drawable.j24_on,R.drawable.j25_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(631, 130, 631 +92, 130 + 110);
//        allRect[1] = new Rect(758, 130, 758 + 92, 130 + 110);
//        allRect[2] = new Rect(631, 288, 631 + 92, 288 + 110);
//        allRect[3] = new Rect(758, 288 , 758 + 92, 288 + 110  );
//        allRect[4] = new Rect(631, 446 , 631 + 92, 446 + 110  );
//        allRect[5] = new Rect(758, 446, 758 +92, 446 + 110);
//
//        allRect[6] = new Rect(71, 151, 71 + 65, 151 + 65);
//        allRect[7] = new Rect(146, 77, 146 + 65, 77 + 65);
//        allRect[8] = new Rect(146, 225 , 146 + 65, 225 + 65  );
//        allRect[9] = new Rect(220, 151 , 220 + 65, 151 + 65  );
//        allRect[10] = new Rect(110, 370, 110 + 65, 370 + 65);
//
//        allRect[11] = new Rect(317, 282, 317 + 65, 282  + 65);
//        allRect[12] = new Rect(230, 491, 230 + 65, 491 + 65);
//        allRect[13] = new Rect(368, 491, 368  + 65, 491 + 65);
//        allRect[14] = new Rect(506, 491, 506 + 65, 491 + 65);
//        allRect[15] = new Rect(506, 354, 506 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
//
//        allRect[17] = new Rect(504, 130, 504 + 92, 130+ 50);
//        allRect[18] = new Rect(504, 190, 504 + 92, 190 + 50);
//
////        allRect[19] = new Rect(865, 130, 865 + 109, 130 + 93);
////        allRect[20] = new Rect(893, 223, 893  + 81, 223 + 111);
////        allRect[21] = new Rect(893, 334, 893 + 81, 334 + 110);
////        allRect[22] = new Rect(893, 444, 893 + 81, 444 + 114);
//        allRect[19] = new Rect(887, 132, 887 + 97, 132 + 97);
//        allRect[20] = new Rect(887, 229, 887  + 97, 223 + 105);
//        allRect[21] = new Rect(887, 334, 887 + 97, 334 + 109);
//        allRect[22] = new Rect(887, 443, 887 + 97, 443 + 110);

    } // 左座椅按摩 19 + 4
    public void s210()
    {

    }

    public void s11() { //tongfeng 19 + 4
//        pageno = 11;
//        pageback = R.drawable.a11;
//        jmpPosition = 11;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 19, 20,19,20,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//                19,19,19,19};
//        cmdArray = new String[]{"13","10","1F0D0000","11","1F0E0000","12",
//                "1E200000", "1B200000", "1C200000", "1D200000", "14200000", "13200000", "16200000", "15200000", "18200000","17200000",
//                "1",
//                "1EC60000","1EC50000",
//                "1ED40000","1ED10000","1ED20000","1ED30000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 0, 1,0,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//                0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "1fe6","1fe5",
//                "1fe21","1fe22","1fe23","1fe24"};
//        offArray = new Integer[]{R.drawable.j1_off,R.drawable.j2_off,R.drawable.j3_off,R.drawable.j4_off,R.drawable.j5_off ,
//                R.drawable.j6_off,R.drawable.j7_off,R.drawable.j8_off,R.drawable.j9_off,R.drawable.j10_off,R.drawable.j11_off,
//                R.drawable.j12_off,R.drawable.j13_off,R.drawable.j14_off,R.drawable.j15_off , R.drawable.j16_off,
//                R.drawable.j21_off ,
//                R.drawable.j34_off,R.drawable.j35_off,
//                R.drawable.j30_off,R.drawable.j31_off,R.drawable.j32_off,R.drawable.j33_off
//        };
//
//        onArray = new Integer[]{R.drawable.j1_on,R.drawable.j2_on,R.drawable.j3_on,R.drawable.j4_on,R.drawable.j5_on ,
//                R.drawable.j6_on,R.drawable.j7_on,R.drawable.j8_on,R.drawable.j9_on,R.drawable.j10_on,R.drawable.j11_on,
//                R.drawable.j12_on,R.drawable.j13_on,R.drawable.j14_on,R.drawable.j15_on , R.drawable.j16_on,
//                R.drawable.j21_on,
//                R.drawable.j34_on,R.drawable.j35_on,
//                R.drawable.j30_on,R.drawable.j31_on,R.drawable.j32_on,R.drawable.j33_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(631, 130, 631 +92, 130 + 110);
//        allRect[1] = new Rect(758, 130, 758 + 92, 130 + 110);
//        allRect[2] = new Rect(631, 288, 631 + 92, 288 + 110);
//        allRect[3] = new Rect(758, 288 , 758 + 92, 288 + 110  );
//        allRect[4] = new Rect(631, 446 , 631 + 92, 446 + 110  );
//        allRect[5] = new Rect(758, 446, 758 +92, 446 + 110);
//
//        allRect[6] = new Rect(71, 151, 71 + 65, 151 + 65);
//        allRect[7] = new Rect(146, 77, 146 + 65, 77 + 65);
//        allRect[8] = new Rect(146, 225 , 146 + 65, 225 + 65  );
//        allRect[9] = new Rect(220, 151 , 220 + 65, 151 + 65  );
//        allRect[10] = new Rect(110, 370, 110 + 65, 370 + 65);
//
//        allRect[11] = new Rect(317, 282, 317 + 65, 282  + 65);
//        allRect[12] = new Rect(230, 491, 230 + 65, 491 + 65);
//        allRect[13] = new Rect(368, 491, 368  + 65, 491 + 65);
//        allRect[14] = new Rect(506, 491, 506 + 65, 491 + 65);
//        allRect[15] = new Rect(506, 354, 506 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
//
//        allRect[17] = new Rect(504, 130, 504 + 92, 130+ 50);
//        allRect[18] = new Rect(504, 190, 504 + 92, 190 + 50);
//
//
////        allRect[19] = new Rect(893, 130, 893 + 81, 130 + 93);
////        allRect[20] = new Rect(875, 223, 875  + 99, 223 + 111);
////        allRect[21] = new Rect(865, 334, 865 + 109, 334 + 110);
////        allRect[22] = new Rect(893, 444, 893 + 81, 444 + 114);
//        allRect[19] = new Rect(887, 132, 887 + 97, 132 + 97);
//        allRect[20] = new Rect(887, 229, 887  + 97, 223 + 105);
//        allRect[21] = new Rect(887, 334, 887 + 97, 334 + 109);
//        allRect[22] = new Rect(887, 443, 887 + 97, 443 + 110);

    } // 左座椅通风 19 + 4
    public void s211()
    {

    }

    public void s12() { //jiare
//        pageno = 12;
//        pageback = R.drawable.a12;
//        jmpPosition = 12;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 19, 20,19,20,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//                19,19,19,19};
//        cmdArray = new String[]{"13","10","1F0D0000","11","1F0E0000","12",
//                "1E200000", "1B200000", "1C200000", "1D200000", "14200000", "13200000", "16200000", "15200000", "18200000","17200000",
//                "1",
//                "1EC60000","1EC50000",
//                "1ED80000","1ED50000","1ED60000","1ED70000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 0, 1,0,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//                0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "1fe6","1fe5",
//                "1fe11","1fe12","1fe13","1fe14"};
//        offArray = new Integer[]{R.drawable.j1_off,R.drawable.j2_off,R.drawable.j3_off,R.drawable.j4_off,R.drawable.j5_off ,
//                R.drawable.j6_off,R.drawable.j7_off,R.drawable.j8_off,R.drawable.j9_off,R.drawable.j10_off,R.drawable.j11_off,
//                R.drawable.j12_off,R.drawable.j13_off,R.drawable.j14_off,R.drawable.j15_off , R.drawable.j16_off,
//                R.drawable.j21_off ,
//                R.drawable.j34_off,R.drawable.j35_off,
//                R.drawable.j26_off,R.drawable.j27_off,R.drawable.j28_off,R.drawable.j29_off
//        };
//
//        onArray = new Integer[]{R.drawable.j1_on,R.drawable.j2_on,R.drawable.j3_on,R.drawable.j4_on,R.drawable.j5_on ,
//                R.drawable.j6_on,R.drawable.j7_on,R.drawable.j8_on,R.drawable.j9_on,R.drawable.j10_on,R.drawable.j11_on,
//                R.drawable.j12_on,R.drawable.j13_on,R.drawable.j14_on,R.drawable.j15_on , R.drawable.j16_on,
//                R.drawable.j21_on,
//                R.drawable.j34_on,R.drawable.j35_on,
//                R.drawable.j26_on,R.drawable.j27_on,R.drawable.j28_on,R.drawable.j29_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(631, 130, 631 +92, 130 + 110);
//        allRect[1] = new Rect(758, 130, 758 + 92, 130 + 110);
//        allRect[2] = new Rect(631, 288, 631 + 92, 288 + 110);
//        allRect[3] = new Rect(758, 288 , 758 + 92, 288 + 110  );
//        allRect[4] = new Rect(631, 446 , 631 + 92, 446 + 110  );
//        allRect[5] = new Rect(758, 446, 758 +92, 446 + 110);
//
//        allRect[6] = new Rect(71, 151, 71 + 65, 151 + 65);
//        allRect[7] = new Rect(146, 77, 146 + 65, 77 + 65);
//        allRect[8] = new Rect(146, 225 , 146 + 65, 225 + 65  );
//        allRect[9] = new Rect(220, 151 , 220 + 65, 151 + 65  );
//        allRect[10] = new Rect(110, 370, 110 + 65, 370 + 65);
//
//        allRect[11] = new Rect(317, 282, 317 + 65, 282  + 65);
//        allRect[12] = new Rect(230, 491, 230 + 65, 491 + 65);
//        allRect[13] = new Rect(368, 491, 368  + 65, 491 + 65);
//        allRect[14] = new Rect(506, 491, 506 + 65, 491 + 65);
//        allRect[15] = new Rect(506, 354, 506 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
//
//        allRect[17] = new Rect(504, 130, 504 + 92, 130+ 50);
//        allRect[18] = new Rect(504, 190, 504 + 92, 190 + 50);
//
////        allRect[19] = new Rect(893, 130, 893 + 81, 130 + 93);
////        allRect[20] = new Rect(893, 223, 893  + 81, 223 + 111);
////        allRect[21] = new Rect(893, 334, 893 + 81, 334 + 110);
////        allRect[22] = new Rect(865, 444, 865 + 109, 444 + 114);
//        allRect[19] = new Rect(887, 132, 887 + 97, 132 + 97);
//        allRect[20] = new Rect(887, 229, 887  + 97, 223 + 105);
//        allRect[21] = new Rect(887, 334, 887 + 97, 334 + 109);
//        allRect[22] = new Rect(887, 443, 887 + 97, 443 + 110);

    } // 左座椅加热 19 + 4
    public void s212()
    {

    }
    public void s13() { //右座椅
//        pageno =13;
//        pageback = R.drawable.a13;
//        jmpPosition = 13;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19};
//        typeArray = new Integer[]{20, 20, 20, 19,20,19,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19};
//        cmdArray = new String[]{"14","9","15","2F0D0000","16","2F0E0000",
//                "2E200000", "2B200000", "2C200000", "2D200000", "24200000", "23200000", "26200000", "25200000", "28200000","27200000",
//                "1",
//                "2EC60000","2EC50000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 0, 1,0,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "2fe5","2fe6"};
//        offArray = new Integer[]{R.drawable.k1_off,R.drawable.k2_off,R.drawable.k3_off,R.drawable.k4_off,R.drawable.k5_off ,
//                R.drawable.k6_off,R.drawable.k7_off,R.drawable.k8_off,R.drawable.k9_off,R.drawable.k10_off,R.drawable.k11_off,
//                R.drawable.k12_off,R.drawable.k13_off,R.drawable.k14_off,R.drawable.k15_off , R.drawable.k16_off,
//                R.drawable.k21_off ,
//                R.drawable.k34_off,R.drawable.k35_off};
//
//        onArray = new Integer[]{R.drawable.k1_on,R.drawable.k2_on,R.drawable.k3_on,R.drawable.k4_on,R.drawable.k5_on ,
//                R.drawable.k6_on,R.drawable.k7_on,R.drawable.k8_on,R.drawable.k9_on,R.drawable.k10_on,R.drawable.k11_on,
//                R.drawable.k12_on,R.drawable.k13_on,R.drawable.k14_on,R.drawable.k15_on , R.drawable.k16_on,
//                R.drawable.k21_on,
//                R.drawable.k34_on,R.drawable.k35_on};
//        allRect = new Rect[19];
//        allRect[0] = new Rect(174, 130, 174 +92, 130 + 110);
//        allRect[1] = new Rect(301, 130, 301 + 92, 130 + 110);
//        allRect[2] = new Rect(174, 288, 174 + 92, 288 + 110);
//        allRect[3] = new Rect(301, 288 , 301 + 92, 288 + 110  );
//        allRect[4] = new Rect(174, 446 , 174 + 92, 446 + 110  );
//        allRect[5] = new Rect(301, 446, 301 +92, 446 + 110);
//
//        allRect[6] = new Rect(739, 151, 739 + 65, 151 + 65);
//        allRect[7] = new Rect(813, 77, 813 + 65, 77 + 65);
//        allRect[8] = new Rect(813, 225 , 813 + 65, 225 + 65  );
//        allRect[9] = new Rect(888, 151 , 888 + 65, 151 + 65  );
//        allRect[10] = new Rect(849, 370, 849 + 65, 370 + 65);
//
//        allRect[11] = new Rect(642, 282, 642 + 65, 282  + 65);
//        allRect[12] = new Rect(729, 491, 729 + 65, 491 + 65);
//        allRect[13] = new Rect(591, 491, 591  + 65, 491 + 65);
//        allRect[14] = new Rect(453, 491, 453 + 65, 491 + 65);
//        allRect[15] = new Rect(453, 354, 453 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89 +10, 14 + 28+10);
//
//        allRect[17] = new Rect(428, 130, 428 + 92, 130+ 50);
//        allRect[18] = new Rect(428, 190, 428 + 92, 190 + 50);

    } // 右座椅 19
    public void s213()
    {

    }
    public void s14() { // 右座椅按摩
//        pageno = 14;
//        pageback = R.drawable.a14;
//        jmpPosition = 14;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 20, 19,20,19,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//                19,19,19,19};
//        cmdArray = new String[]{"14","9","15","2F0D0000","16","2F0E0000",
//                "2E200000", "2B200000", "2C200000", "2D200000", "24200000", "23200000", "26200000", "25200000", "28200000","27200000",
//                "1",
//                "2EC60000","2EC50000",
//                "2EC40000","2EC10000","2EC20000","2EC30000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 1, 1,1,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//                0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "2fe5","2fe6",
//                "2fe41","2fe42","2fe43","2fe44"};
//        offArray = new Integer[]{R.drawable.k1_off,R.drawable.k2_off,R.drawable.k3_off,R.drawable.k4_off,R.drawable.k5_off ,
//                R.drawable.k6_off,R.drawable.k7_off,R.drawable.k8_off,R.drawable.k9_off,R.drawable.k10_off,R.drawable.k11_off,
//                R.drawable.k12_off,R.drawable.k13_off,R.drawable.k14_off,R.drawable.k15_off , R.drawable.k16_off,
//                R.drawable.k21_off ,
//                R.drawable.k34_off,R.drawable.k35_off,
//                R.drawable.k22_off,R.drawable.k23_off,R.drawable.k24_off,R.drawable.k25_off
//        };
//
//        onArray = new Integer[]{R.drawable.k1_on,R.drawable.k2_on,R.drawable.k3_on,R.drawable.k4_on,R.drawable.k5_on ,
//                R.drawable.k6_on,R.drawable.k7_on,R.drawable.k8_on,R.drawable.k9_on,R.drawable.k10_on,R.drawable.k11_on,
//                R.drawable.k12_on,R.drawable.k13_on,R.drawable.k14_on,R.drawable.k15_on , R.drawable.k16_on,
//                R.drawable.k21_on,
//                R.drawable.k34_on,R.drawable.k35_on,
//                R.drawable.k22_on,R.drawable.k23_on,R.drawable.k24_on,R.drawable.k25_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(174, 130, 174 +92, 130 + 110);
//        allRect[1] = new Rect(301, 130, 301 + 92, 130 + 110);
//        allRect[2] = new Rect(174, 288, 174 + 92, 288 + 110);
//        allRect[3] = new Rect(301, 288 , 301 + 92, 288 + 110  );
//        allRect[4] = new Rect(174, 446 , 174 + 92, 446 + 110  );
//        allRect[5] = new Rect(301, 446, 301 +92, 446 + 110);
//
//        allRect[6] = new Rect(739, 151, 739 + 65, 151 + 65);
//        allRect[7] = new Rect(813, 77, 813 + 65, 77 + 65);
//        allRect[8] = new Rect(813, 225 , 813 + 65, 225 + 65  );
//        allRect[9] = new Rect(888, 151 , 888 + 65, 151 + 65  );
//        allRect[10] = new Rect(849, 370, 849 + 65, 370 + 65);
//
//        allRect[11] = new Rect(642, 282, 642 + 65, 282  + 65);
//        allRect[12] = new Rect(729, 491, 729 + 65, 491 + 65);
//        allRect[13] = new Rect(591, 491, 591  + 65, 491 + 65);
//        allRect[14] = new Rect(453, 491, 453 + 65, 491 + 65);
//        allRect[15] = new Rect(453, 354, 453 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89, 14 + 28);
//
//        allRect[17] = new Rect(428, 130, 428 + 92, 130+ 50);
//        allRect[18] = new Rect(428, 190, 428 + 92, 190 + 50);
//
////        allRect[19] = new Rect(50, 130, 50 + 105, 130 + 93);
////        allRect[20] = new Rect(50, 223, 50  + 79, 223 + 111);
////        allRect[21] = new Rect(50, 334, 50 + 79, 334 + 110);
////        allRect[22] = new Rect(50, 444, 50 + 79, 444 + 114);
//        allRect[19] = new Rect(41, 132, 41 + 97, 132 + 97);
//        allRect[20] = new Rect(41, 229, 41  + 97, 229 + 105);
//        allRect[21] = new Rect(41, 334, 41 + 97, 334 + 109);
//        allRect[22] = new Rect(41, 443, 41 + 97, 443 + 110);

    } // 右座椅按摩 19 + 4
    public void s214()
    {

    }
    public void s15() {
//        pageno = 15;
//        pageback = R.drawable.a15;
//        jmpPosition = 15;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 20, 19,20,19,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//                19,19,19,19};
//        cmdArray = new String[]{"14","9","15","2F0D0000","16","2F0E0000",
//                "2E200000", "2B200000", "2C200000", "2D200000", "24200000", "23200000", "26200000", "25200000", "28200000","27200000",
//                "1",
//                "2EC60000","2EC50000",
//                "2ED80000","2ED50000","2ED60000","2ED70000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 1, 1,1,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//                0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "2fe6","2fe5",
//                "2fe11","2fe12","2fe13","2fe14"};
//        offArray = new Integer[]{R.drawable.k1_off,R.drawable.k2_off,R.drawable.k3_off,R.drawable.k4_off,R.drawable.k5_off ,
//                R.drawable.k6_off,R.drawable.k7_off,R.drawable.k8_off,R.drawable.k9_off,R.drawable.k10_off,R.drawable.k11_off,
//                R.drawable.k12_off,R.drawable.k13_off,R.drawable.k14_off,R.drawable.k15_off , R.drawable.k16_off,
//                R.drawable.k21_off ,
//                R.drawable.k34_off,R.drawable.k35_off,
//                R.drawable.k30_off,R.drawable.k31_off,R.drawable.k32_off,R.drawable.k33_off
//        };
//
//        onArray = new Integer[]{R.drawable.k1_on,R.drawable.k2_on,R.drawable.k3_on,R.drawable.k4_on,R.drawable.k5_on ,
//                R.drawable.k6_on,R.drawable.k7_on,R.drawable.k8_on,R.drawable.k9_on,R.drawable.k10_on,R.drawable.k11_on,
//                R.drawable.k12_on,R.drawable.k13_on,R.drawable.k14_on,R.drawable.k15_on , R.drawable.k16_on,
//                R.drawable.k21_on,
//                R.drawable.k34_on,R.drawable.k35_on,
//                R.drawable.k30_on,R.drawable.k31_on,R.drawable.k32_on,R.drawable.k33_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(174, 130, 174 +92, 130 + 110);
//        allRect[1] = new Rect(301, 130, 301 + 92, 130 + 110);
//        allRect[2] = new Rect(174, 288, 174 + 92, 288 + 110);
//        allRect[3] = new Rect(301, 288 , 301 + 92, 288 + 110  );
//        allRect[4] = new Rect(174, 446 , 174 + 92, 446 + 110  );
//        allRect[5] = new Rect(301, 446, 301 +92, 446 + 110);
//
//        allRect[6] = new Rect(739, 151, 739 + 65, 151 + 65);
//        allRect[7] = new Rect(813, 77, 813 + 65, 77 + 65);
//        allRect[8] = new Rect(813, 225 , 813 + 65, 225 + 65  );
//        allRect[9] = new Rect(888, 151 , 888 + 65, 151 + 65  );
//        allRect[10] = new Rect(849, 370, 849 + 65, 370 + 65);
//
//        allRect[11] = new Rect(642, 282, 642 + 65, 282  + 65);
//        allRect[12] = new Rect(729, 491, 729 + 65, 491 + 65);
//        allRect[13] = new Rect(591, 491, 591  + 65, 491 + 65);
//        allRect[14] = new Rect(453, 491, 453 + 65, 491 + 65);
//        allRect[15] = new Rect(453, 354, 453 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89 +10, 14 + 28+10);
//
//        allRect[17] = new Rect(428, 130, 428 + 92, 130+ 50);
//        allRect[18] = new Rect(428, 190, 428 + 92, 190 + 50);
//
////        allRect[19] = new Rect(50, 130, 50 + 79, 130 + 93);
////        allRect[20] = new Rect(50, 223, 50  + 96, 223 + 111);
////        allRect[21] = new Rect(50, 334, 50 + 105, 334 + 110);
////        allRect[22] = new Rect(50, 444, 50 + 79, 444 + 114);
//        allRect[19] = new Rect(41, 132, 41 + 97, 132 + 97);
//        allRect[20] = new Rect(41, 229, 41  + 97, 229 + 105);
//        allRect[21] = new Rect(41, 334, 41 + 97, 334 + 109);
//      //  allRect[22] = new Rect(41, 443, 41 + 97, 443 + 110);
//        allRect[22] = new Rect(41, 443, 41 + 97, 443 + 110);

    } // 右座椅通风 19 + 4
    public void s215()
    {

    }
    public void s16() {
//        pageno = 16;
//        pageback = R.drawable.a16;
//        jmpPosition =16;
//        seqArray = new Integer[]{1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23};
//        typeArray = new Integer[]{20, 20, 20, 19,20,19,
//                16, 16, 16, 16, 16, 16, 16, 16, 16,16,
//                20,
//                19,19,
//                19,19,19,19};
//        cmdArray = new String[]{"14","9","15","2F0D0000","16","2F0E0000",
//                "2E200000", "2B200000", "2C200000", "2D200000", "24200000", "23200000", "26200000", "25200000", "28200000","27200000",
//                "1",
//                "2EC60000","2EC50000",
//                "2ED40000","2ED10000","2ED20000","2ED30000"
//        };
//
//        nodeArray = new Integer[]{1, 1, 1, 1,1,1,
//                0, 0, 0, 0, 0, 0, 0, 0, 0,0,
//                1,
//                0,0,
//                0,0,0,0};
//        feedDArray = new String[]{"", "", "","","", "",
//                "", "", "","","", "","", "","","",
//                "",
//                "2fe6","2fe5",
//                "2fe21","2fe22","2fe23","2fe24"};
//        offArray = new Integer[]{R.drawable.k1_off,R.drawable.k2_off,R.drawable.k3_off,R.drawable.k4_off,R.drawable.k5_off ,
//                R.drawable.k6_off,R.drawable.k7_off,R.drawable.k8_off,R.drawable.k9_off,R.drawable.k10_off,R.drawable.k11_off,
//                R.drawable.k12_off,R.drawable.k13_off,R.drawable.k14_off,R.drawable.k15_off , R.drawable.k16_off,
//                R.drawable.k21_off ,
//                R.drawable.k34_off,R.drawable.k35_off,
//                R.drawable.k26_off,R.drawable.k27_off,R.drawable.k28_off,R.drawable.k29_off
//        };
//
//        onArray = new Integer[]{R.drawable.k1_on,R.drawable.k2_on,R.drawable.k3_on,R.drawable.k4_on,R.drawable.k5_on ,
//                R.drawable.k6_on,R.drawable.k7_on,R.drawable.k8_on,R.drawable.k9_on,R.drawable.k10_on,R.drawable.k11_on,
//                R.drawable.k12_on,R.drawable.k13_on,R.drawable.k14_on,R.drawable.k15_on , R.drawable.k16_on,
//                R.drawable.k21_on,
//                R.drawable.k34_on,R.drawable.k35_on,
//                R.drawable.k26_on,R.drawable.k27_on,R.drawable.k28_on,R.drawable.k29_on
//        };
//        allRect = new Rect[23];
//        allRect[0] = new Rect(174, 130, 174 +92, 130 + 110);
//        allRect[1] = new Rect(301, 130, 301 + 92, 130 + 110);
//        allRect[2] = new Rect(174, 288, 174 + 92, 288 + 110);
//        allRect[3] = new Rect(301, 288 , 301 + 92, 288 + 110  );
//        allRect[4] = new Rect(174, 446 , 174 + 92, 446 + 110  );
//        allRect[5] = new Rect(301, 446, 301 +92, 446 + 110);
//
//        allRect[6] = new Rect(739, 151, 739 + 65, 151 + 65);
//        allRect[7] = new Rect(813, 77, 813 + 65, 77 + 65);
//        allRect[8] = new Rect(813, 225 , 813 + 65, 225 + 65  );
//        allRect[9] = new Rect(888, 151 , 888 + 65, 151 + 65  );
//        allRect[10] = new Rect(849, 370, 849 + 65, 370 + 65);
//
//        allRect[11] = new Rect(642, 282, 642 + 65, 282  + 65);
//        allRect[12] = new Rect(729, 491, 729 + 65, 491 + 65);
//        allRect[13] = new Rect(591, 491, 591  + 65, 491 + 65);
//        allRect[14] = new Rect(453, 491, 453 + 65, 491 + 65);
//        allRect[15] = new Rect(453, 354, 453 + 65, 354 + 65);
//
//        allRect[16] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);
//
//        allRect[17] = new Rect(428, 130, 428 + 92, 130+ 50);
//        allRect[18] = new Rect(428, 190, 428 + 92, 190 + 50);
//
////        allRect[19] = new Rect(50, 130, 50 + 79, 130 + 93);
////        allRect[20] = new Rect(50, 223, 50  + 79, 223 + 110);
////        allRect[21] = new Rect(50, 334, 50 + 79, 334 + 110);
////        allRect[22] = new Rect(50, 444, 50 + 105, 444 + 114);
//
//        allRect[19] = new Rect(41, 132, 41 + 97, 132 + 97);
//        allRect[20] = new Rect(41, 229, 41  + 97, 229 + 105);
//        allRect[21] = new Rect(41, 334, 41 + 97, 334 + 109);
//        allRect[22] = new Rect(41, 443, 41 + 97, 443 + 110);
    } // 右座椅加热 19 + 4

    public void s216()
    {

    }
    public void s17() { //水壶扶手 10
        pageno = 17;
        pageback = R.drawable.a17;
        jmpPosition = 17;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,16,16,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,0,0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","83200000","84200000","82200000","81200000","85200000","86200000","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off
                ,R.drawable.fs1_off,R.drawable.fs2_off,R.drawable.fs3_off,R.drawable.fs4_off,R.drawable.fs5_off,R.drawable.fs6_off,R.drawable.fs6_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.fs1_on,R.drawable.fs2_on, R.drawable.fs3_on, R.drawable.fs4_on,R.drawable.fs5_on, R.drawable.fs6_on, R.drawable.fs6_on};

        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
       // allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

//        allRect[9] = new Rect(413, 169, 413+18, 169 + 36);
//
//        allRect[10] = new Rect(592, 169, 592 + 18, 169 + 36);
//
//        allRect[11] = new Rect(271, 335, 271 + 18, 335 + 36);
//
//        allRect[12] = new Rect(450, 335, 450 + 18, 335 + 36);
//        allRect[13] = new Rect(556, 335, 556 + 18, 335 + 36);
//
//        allRect[14] = new Rect(735, 335, 735 + 18, 335 + 36);
        allRect[9] = new Rect(403, 161, 403+38, 161 + 52);

        allRect[10] = new Rect(582, 161, 582 + 38, 161 + 52);

        allRect[11] = new Rect(261, 327, 261 + 38, 327 +52);

        allRect[12] = new Rect(440, 327, 440 + 38, 327 + 52);
        allRect[13] = new Rect(546, 327, 546 + 38, 327 + 52);

        allRect[14] = new Rect(725, 327, 725 + 38, 327 + 52);
        allRect[15] = new Rect(668 ,476 , 668 + 90, 476 + 90  ); //桌板


//        allRect[9] = new Rect(413, 169, 413+18, 169 + 36);
//
//        allRect[10] = new Rect(592, 169, 592 + 18, 169 + 36);

    } // 水壶扶手 10
    public void s217() { //水壶扶手 10
        pageno = 217;
        pageback = R.drawable.a217;
        jmpPosition = 17;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,16,16,16,16,16,16,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,0,0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "","","","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","83200000","84200000","82200000","81200000","85200000","86200000","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off
                ,R.drawable.fs1_off,R.drawable.fs2_off,R.drawable.fs3_off,R.drawable.fs4_off,R.drawable.fs5_off,R.drawable.fs6_off,R.drawable.fs6_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.fs1_on,R.drawable.fs2_on, R.drawable.fs3_on, R.drawable.fs4_on,R.drawable.fs5_on, R.drawable.fs6_on, R.drawable.fs6_on};

        allRect = new Rect[16];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(403, 161, 403+38, 161 + 52);

        allRect[10] = new Rect(582, 161, 582 + 38, 161 + 52);

        allRect[11] = new Rect(261, 327, 261 + 38, 327 +52);

        allRect[12] = new Rect(440, 327, 440 + 38, 327 + 52);
        allRect[13] = new Rect(546, 327, 546 + 38, 327 + 52);

        allRect[14] = new Rect(725, 327, 725 + 38, 327 + 52);
        allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板


//        allRect[9] = new Rect(413, 169, 413+18, 169 + 36);
//
//        allRect[10] = new Rect(592, 169, 592 + 18, 169 + 36);

    } // 水壶扶手 10
    public void s18() {// 吧台控制 10
        pageno = 18;
        pageback = R.drawable.a18;
        jmpPosition = 18;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","", "", "",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","31C10000","32D10000","33A1000","34B10000"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,R.drawable.f2_off,R.drawable.f2_off,R.drawable.f2_off,R.drawable.f2_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,R.drawable.f2_on,R.drawable.f2_on, R.drawable.f2_on, R.drawable.f2_on};


        allRect = new Rect[13];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(334, 476 , 334 + 90, 476 + 90  );
        allRect[4] = new Rect(608 ,476 , 608 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        allRect[9] = new Rect(391, 314, 391+60, 314 + 60);

        allRect[10] = new Rect(275, 314, 275 + 60, 314 + 60);

        allRect[11] = new Rect(693, 314, 693 + 60, 314 + 60);

        allRect[12] = new Rect(577, 314, 577 + 60, 314 + 60);

    } // 吧台控制
    public void s218() {// 吧台控制 10


    } // 吧台控制
    public void s181() {// 吧台控制 10
        pageno = 181;
        pageback = R.drawable.a181;
        jmpPosition = 181;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","3001", "3002", "3003","3004","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","31C10000","32D10000","33A10000","34B10000","182","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.bty1_off,R.drawable.bty2_off,R.drawable.bty3_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.bty1_on,R.drawable.bty2_on, R.drawable.bty3_on, R.drawable.bty4_on, R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[15];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[13] = new Rect(519, 130, 800, 184);
        allRect[14] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // 吧台控制
    public void s381() {// 吧台控制 10
        pageno = 381;
        pageback = R.drawable.a381;
        jmpPosition = 381;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","3001", "3002", "3003","3004","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","31C10000","32D10000","33A10000","34B10000","382","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.bty1_off,R.drawable.bty2_off,R.drawable.bty3_off,R.drawable.bty4_off,R.drawable.bty4_off,R.drawable.bty4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.bty1_on,R.drawable.bty2_on, R.drawable.bty3_on, R.drawable.bty4_on, R.drawable.bty4_on, R.drawable.bty4_on};


        allRect = new Rect[15];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[13] = new Rect(519, 130, 800, 184);
        allRect[14] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // 吧台控制
    public void s182() {// 吧台控制 10
        pageno = 182;
        pageback = R.drawable.a182;
        jmpPosition = 182;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","4001", "4002", "4003","4004","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","41C10000","42D10000","43A10000","44B10000","181","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.zuoban1_off,R.drawable.zuoban2_off,R.drawable.zuoban3_off,R.drawable.zuoban4_off,R.drawable.zuoban4_off,R.drawable.zuoban4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.zuoban1_on,R.drawable.zuoban2_on, R.drawable.zuoban3_on, R.drawable.zuoban4_on, R.drawable.zuoban4_on, R.drawable.zuoban4_on};


        allRect = new Rect[15];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[13] = new Rect(225, 130, 512, 184);
        allRect[14] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板


    } // 吧台控制
    public void s382() {// 吧台控制 10
        pageno = 382;
        pageback = R.drawable.a382;
        jmpPosition =382;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","4001", "4002", "4003","4004","",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","41C10000","42D10000","43A10000","44B10000","381","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off,
                R.drawable.zuoban1_off,R.drawable.zuoban2_off,R.drawable.zuoban3_off,R.drawable.zuoban4_off,R.drawable.zuoban4_off,R.drawable.zuoban4_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.zuoban1_on,R.drawable.zuoban2_on, R.drawable.zuoban3_on, R.drawable.zuoban4_on, R.drawable.zuoban4_on, R.drawable.zuoban4_on};


        allRect = new Rect[15];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);

        allRect[9] = new Rect(251, 270, 251+38, 270 + 52);

        allRect[10] = new Rect(451, 270, 451 + 38, 270 + 52);

        allRect[11] = new Rect(536, 270, 536 + 38, 270 + 52);

        allRect[12] = new Rect(736, 270, 736 + 38, 270 + 52);
        allRect[13] = new Rect(225, 130, 512, 184);
        allRect[14] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板


    } // 吧台控制
    public void s19() {// 桌板控制5
        pageno = 19;
        pageback = R.drawable.a19;
        jmpPosition = 19;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","b001", "b002","c001","c002",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"31", "71", "51", "21","4",
                "81","181","17","1","B1400000","B2500000","C1400000","C2500000","19"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off
                ,R.drawable.zuoban1_off,R.drawable.zuoban2_off,R.drawable.zuoban3_off,R.drawable.zuoban4_off,R.drawable.fs6_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.zuoban1_on,R.drawable.zuoban2_on, R.drawable.zuoban3_on, R.drawable.zuoban4_on, R.drawable.fs6_on};

        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        // allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ////////////////////

        allRect[9] = new Rect(301, 171, 301+38, 171 + 52);

        allRect[10] = new Rect(686, 171, 686 + 38, 171 + 52);

        allRect[11] = new Rect(301, 332, 301 + 38, 332 + 52);

      //  allRect[12] = new Rect(450, 335, 450 + 18, 335 + 36);
      //  allRect[13] = new Rect(556, 335, 556 + 18, 335 + 36);

        allRect[12] = new Rect(686, 332, 686 + 38, 332 + 52);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // 桌板控制 5
    public void s219() {// 桌板控制5
        pageno = 219;
        pageback = R.drawable.a219;
        jmpPosition = 219;
        seqArray = new Integer[]{1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14};

        typeArray = new Integer[]{20, 20, 20,20, 20,20, 20, 20,20,19,19,19,19,20};
        nodeArray = new Integer[]{1, 1, 1, 1,1,1,1,1,1,0, 0, 0, 0,1};
        // nodeArray = new Integer[]{0, 0, 0, 0, 0, 0, 0, 0};
        feedDArray = new String[]{"", "", "", "",  "", "", "", "","","b001", "b002","c001","c002",""};
//        cmdArray = new String[]{"2", "3", "5", "7","8",
//                "19","9","17","18"};
        cmdArray = new String[]{"231", "271", "251", "221","204",
                "281","381","217","201","B1400000","B2500000","C1400000","C2500000","219"};
//        feedDArray = new String[]{"", "", "", "", "", "","d001"};
//        cmdArray = new String[]{"1", "2", "3", "4",
//                "c9200000","ca200000","D1E00000"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b4_off,R.drawable.b5_off,
                R.drawable.b6_off,R.drawable.b7_off,R.drawable.b8_off,R.drawable.b1_off
                ,R.drawable.zuoban1_off,R.drawable.zuoban2_off,R.drawable.zuoban3_off,R.drawable.zuoban4_off,R.drawable.fs6_off};

        onArray = new Integer[]{R.drawable.b1_on,R.drawable.b2_on,R.drawable.b3_on,R.drawable.b4_on,R.drawable.b5_on,
                R.drawable.b6_on,R.drawable.b7_on,R.drawable.b8_on,R.drawable.b1_on,
                R.drawable.zuoban1_on,R.drawable.zuoban2_on, R.drawable.zuoban3_on, R.drawable.zuoban4_on, R.drawable.fs6_on};

        allRect = new Rect[14];

        allRect[0] = new Rect(60, 122, 60 +90, 122 + 90);
        allRect[1] = new Rect(60, 297, 60 + 90, 297 + 90);
        allRect[2] = new Rect(60, 476, 60 + 90, 476+ 90);
        allRect[3] = new Rect(268, 476 , 268 + 90, 476 + 90  );
        allRect[4] = new Rect(473 ,476 , 473 + 90, 476 + 90  );
        // allRect[15] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板
        //  allRect[5] = new Rect(853, 480, 853 + 100, 480 + 100);

        // allRect[3] = new Rect(774 , 108, 774 + 211, 108 + 178);
        allRect[5] = new Rect(879, 476, 879 + 90, 476 + 90);

        allRect[6] = new Rect(879, 297, 879 + 90, 297 + 90);

        allRect[7] = new Rect(879, 122, 879 + 90, 122 + 90);

        allRect[8] = new Rect(845, 24, 1015, 24 + 84);
        ////////////////////

        allRect[9] = new Rect(301, 171, 301+38, 171 + 52);

        allRect[10] = new Rect(686, 171, 686 + 38, 171 + 52);

        allRect[11] = new Rect(301, 332, 301 + 38, 332 + 52);

        //  allRect[12] = new Rect(450, 335, 450 + 18, 335 + 36);
        //  allRect[13] = new Rect(556, 335, 556 + 18, 335 + 36);

        allRect[12] = new Rect(686, 332, 686 + 38, 332 + 52);
        allRect[13] = new Rect(678 ,476 , 678 + 90, 476 + 90  ); //桌板

    } // en桌板控制 5
    public void s29() {
        pageno = 29;
        pageback = R.drawable.a29;
        jmpPosition = 29;

        seqArray = new Integer[]{1};
        typeArray = new Integer[]{41};
        cmdArray = new String[]{"jmp"};
        actArray = new String[]{"0"};

        nodeArray = new Integer[]{1};
        feedDArray = new String[]{""};
        offArray = new Integer[]{R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on};
        allRect = new Rect[1];
        allRect[0] = new Rect(0, 0, 1024, 600);

    } // 桌板控制 5
    public void s229() {// 桌板控制5
        pageno = 29;
        pageback = R.drawable.a29;
        jmpPosition = 29;

        seqArray = new Integer[]{1};
        typeArray = new Integer[]{20};
        cmdArray = new String[]{"0"};

        nodeArray = new Integer[]{1};
        feedDArray = new String[]{""};
        offArray = new Integer[]{R.drawable.b1_off};

        onArray = new Integer[]{R.drawable.b1_on};
        allRect = new Rect[1];
        allRect[0] = new Rect(0, 0, 1024, 600);

    } // 桌板控制
    public void s30() {// DIANYA
        pageno = 30;
        pageback = R.drawable.a30;
        jmpPosition = 30;
        seqArray = new Integer[]{1, 2, 3, 4, 5};
        typeArray = new Integer[]{19, 19, 19, 19,19};
        cmdArray = new String[]{"","", "",
                "","1"};

        nodeArray = new Integer[]{1, 1, 1, 1, 1};
        feedDArray = new String[]{"", "", "","","1"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off ,
        };

        onArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off};
        allRect = new Rect[5];
        allRect[0] = new Rect(165, 252, 87 +138, 252 + 166);
        allRect[1] = new Rect(350, 252, 271 + 138, 252 + 166);
        allRect[2] = new Rect(535, 252, 454 + 138, 252 + 166);
        allRect[3] = new Rect(720, 252 , 639 + 138, 252 + 166  );
        allRect[4] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);

    }
    public void s230() {// DIANYA
        pageno = 30;
        pageback = R.drawable.a30;
        jmpPosition = 30;
        seqArray = new Integer[]{1, 2, 3, 4, 5};
        typeArray = new Integer[]{19, 19, 19, 19,19};
        cmdArray = new String[]{"","", "",
                "","1"};

        nodeArray = new Integer[]{1, 1, 1, 1, 1};
        feedDArray = new String[]{"", "", "","","1"};
        offArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off ,
        };

        onArray = new Integer[]{R.drawable.b1_off,R.drawable.b2_off,R.drawable.b3_off,R.drawable.b3_off,R.drawable.b3_off};
        allRect = new Rect[5];
        allRect[0] = new Rect(165, 252, 87 +138, 252 + 166);
        allRect[1] = new Rect(350, 252, 271 + 138, 252 + 166);
        allRect[2] = new Rect(535, 252, 454 + 138, 252 + 166);
        allRect[3] = new Rect(720, 252 , 639 + 138, 252 + 166  );
        allRect[4] = new Rect(42, 14, 42 + 89+10, 14 + 28+10);

    }

//   电压
    public void setInit(int currentPage) {

        switch (currentPage) {
            case 0:
                s0();
                break;
            case 1:
                s1();
                break;
            case 201:
                s201();
                break;
            case  21:
                s21();
                break;
            case  22:
                s22();
                break;
            case  23:
                s23();
                break;
            case 31:
                s31();
                break;
                case 32:
                s32();
                break;
            case 33:
                s33();
                break;
            case 4:
                s4();
                break;
            case 5:
                s5();
                break;
            case 51:
                s51();
                break;

            case 52:
                s52();
                break;
            case 6:
                s6();
                break;
            case 7:
                s7();
                break;
            case 71:
                s71();
                break;
            case 72:
                s72();
                break;

            case 8:
                s8();
                break;
            case 81:
                s81();
                break;
            case 82:
                s82();
                break;
            case 83:
                s83();
                break;
            case  9:

                s9();
                break;

            case 10:
                s10();
                break;
            case 11:
                s11();
                break;
            case 12:
                s12();
                break;
            case 13:
                s13();
                break;
            case 14:
                s14();
                break;
            case 15:
                s15();
                break;
            case 16:
                s16();
                break;
            case 17:
                s17();
                break;
            case 18:
                s18();
                break;
            case 181:
                s181();
                break;
            case 182:
                s182();
                break;
            case 19:
                s19();
                break;
            case 29:
                s29();
                break;
            case 30:
                s30();
                break;
            case 200:
                s200();
                break;


            case  221:
                s221();
                break;
            case  222:
                s222();
                break;
            case  223:
                s223();
                break;
            case 231:
                s231();
                break;
            case 232:
                s232();
                break;
            case 233:
                s233();
                break;
            case 204:
                s204();
                break;
            case 205:
                s205();
                break;
            case 251:
                s251();
                break;

            case 252:
                s252();
                break;
            case 206:
                s206();
                break;
            case 207:
                s207();
                break;
            case 271:
                s271();
                break;
            case 272:
                s272();
                break;

            case 208:
                s208();
                break;
            case 281:
                s281();
                break;
            case 282:
                s282();
                break;
            case 283:
                s283();
                break;
            case  209:

                s209();
                break;

            case 210:
                s210();
                break;
            case 211:
                s211();
                break;
            case 212:
                s212();
                break;
            case 213:
                s213();
                break;
            case 214:
                s214();
                break;
            case 215:
                s215();
                break;
            case 216:
                s216();
                break;
            case 217:
                s217();
                break;
            case 218:
                s218();
                break;
            case 381:
                s381();
                break;
            case 382:
                s382();
                break;
            case 219:
                s219();
                break;
            case 229:
                s229();
                break;
            case 230:
                s230();
                break;
            default:
                break;
        }
    }



}

